package com.adingxiong.cft.design;


import java.io.File;
import java.net.URI;
import java.nio.file.Path;

/**
 * @ClassName PathTest
 * @Description   Path  File   URI
 * @Author xiongchao
 * @Date 2020/9/22 9:31
 **/
public class PathTest {

    public static void main(String[] args) {

        File file = new File("E:\\images\\it.jpg");

        Path path = file.toPath();

        URI uri = file.toURI();



    }
}
